/*
 * 可复用的公有布局 - 公用的css
 */

/* 底部导航 */
.nav{
  height: 70px;
  background-color: bisque;
  display: flex;
  background-color: rgba(255, 255, 255, 100);
  text-align: center;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.nav a{
  flex: 1;
  color: rgba(16, 16, 16, 100);
  display: flex;
  flex-direction: column;
  font-size: 20px;
  justify-content: center;
}

.nav span{
  font-size: 24px;
}

.nav .active{
  color: deepskyblue;
}

/* 运动模块顶部导航样式 */
main .top_nav{
  margin: 10px auto;
}
.top_nav{
  width:100%;
  padding: 4px;
  line-height: 28px;
  display: flex;
  justify-content: space-evenly;
  border-bottom:  1px solid rgba(221, 221, 221, 100);
  
}
.top_nav a{
  font-size: 16px;
  color: rgba(154, 154, 154, 100)
}
.top_nav .active{
  color: rgba(66, 148, 255, 100);
  font-size: 20px;
}
.top_nav .active::after{
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: deepskyblue;
  position: relative;
  top: 6px;
}


/* 轻提示css样式 */
.toastbox{
    width: 120px;
    height: 100px;
    background-color: rgba(210, 245, 239, 0.5);
    color: #000;
    font-size: 18px;
    text-align: center;
    line-height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    border-radius: 5px;
}


/* 圈子头部选项卡样式 */

.head{
  width: 100%;
  display: flex;
  justify-content: space-around;
  height: 60px;
  line-height: 60px;
  background-color: white;
}
.addBtn{
  padding-top: 5px;
}
.headNav{
  display: flex;
  justify-content: space-between;
  flex: 0.8;
  border-bottom: 1px solid rgba(221, 221, 221, 100);
}
.headNav a{
  font-size: 16px;
  color: rgba(154, 154, 154, 100);
}
.addBtn a{
  background-color: deepskyblue;
  color: white;
  border-radius: 10px;
  padding: 5px;
  text-align: center;
}

.headNav .active::after{
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: deepskyblue;
  position: relative;
  top: -1px;
}

/* 圈子内部内容 */
.pyqItem{
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
}
.user{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.user_detial{
  display: flex;
  align-items: center;
}
.user_detial img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
}
.user button{
  background-color: rgba(255,255,255);
  color: #ccc;
  font-size: 18px;
  width: 30%;
}
.user_position{
  display: flex;
  flex-direction: column;
}
.content{
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 3; 
  margin-bottom: 10px;
}
/* 单图片 */
.onePic{
  margin-bottom: 10px;
}
.onePic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 多图片 */
.morePic{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.morePic img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  margin-bottom: 10px;
}
.endLine{
  color: #ccc;
  display: flex;
  justify-content: space-between;
}